package csc.fresher.hashpassword;

import org.springframework.security.authentication.encoding.ShaPasswordEncoder;

public class HashPasswordSHA {

	private ShaPasswordEncoder encode = new ShaPasswordEncoder(256);
	
	public String hashPasswordSHA(String password){
		return encode.encodePassword(password, null);
	}
}
